package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient("gulimall-coupon") // 告诉注册中心 需要调用哪个服务
public interface CouponFeignServer {

    @GetMapping("coupon/coupon/member/list") // 指定调用服务的具体接口
    public R members ();
}
